//
//  UIStoryboard+BT.m
//  WeChat
//
//  Created by 互联网 on 16/10/28.
//  Copyright © 2016年 bigtree. All rights reserved.
//

#import "UIStoryboard+BT.h"
#import "AppDelegate.h"

@implementation UIStoryboard (BT)
+(void)showInitialVCWithName:(NSString *)name
{
    NSLog(@"%s",__func__);
    UIStoryboard *storyboard = [UIStoryboard storyboardWithName:name bundle:nil];
    AppDelegate *app = [UIApplication sharedApplication].delegate;
    app.window.rootViewController = [storyboard instantiateInitialViewController];
}
@end
